#ifndef REQHANDLER_H
#define REQHANDLER_H

//-----------------------------------------------------------------------------
//
// reqHandler.h
//
// Doug Kline, ID: 000690056, dakline@ncsu.edu
//
// This class handles a single TCP connection request from the client.
//
//-----------------------------------------------------------------------------


#include "config.h"

struct ClientInfo
{
   struct task_struct *thread_p;
   ksocket_t           clientFD;
   struct sockaddr_in  clientAddr;
};


int reqHandlerCreate(void *clientInfo_p);
int reqHandlerRun(struct ClientInfo *clientInfo_p);

int strPrefixMatch(char *prefix, char *str);



#endif // REQHANDLER_H
